package com.reefe.service;

import com.reefe.entity.ZTreeNode;
import com.reefe.pojo.TbItemCat;

import java.util.List;

/**
 * Created by xiao on 2017-12-23.
 */
public interface ItemCatService {
    List<ZTreeNode> getCatList(long parentId);

    TbItemCat getItemCatById(Long id);

    int updateItemCat(TbItemCat tbItemCat);


    int addItemCat(TbItemCat tbItemCat);

    void deleteItemCat(Long id);

    void deleteZTree(Long id);
}
